import { Injectable } from '@angular/core';
import { environment } from 'src/environments/environment';
import { HttpClient } from '@angular/common/http';
@Injectable({
  providedIn: 'root'
})
export class MainService {
  public baseUrl:string = environment.myUrl


  constructor(
    private http:HttpClient
  ) { }

  getStep(){
    return this.http.get(this.baseUrl+'/Main/GetSteps')
  }

  getMessage(){
    return this.http.get(this.baseUrl+'/message/GetArticle')
  }

}
